package net.realsee.service.wcs.work;

import com.baomidou.mybatisplus.extension.service.IService;

import net.realsee.domain.wcs.work.WcsWarnClass;
import net.realsee.domain.wcs.work.bo.WcsWarnClassBo;
import net.realsee.domain.wcs.work.vo.WcsWarnClassVo;
import net.realsee.framework.core.page.TableDataInfo;
import net.realsee.framework.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 告警类别定义Service接口
 *
 * @author realsee
 * @date 2023-08-24
 */
public interface IWcsWarnClassService extends IService<WcsWarnClass> {

    /**
     * 查询告警类别定义
     */
    WcsWarnClassVo selectVoById(Long id);

    /**
     * 查询告警类别定义列表
     */
    TableDataInfo<WcsWarnClassVo> selectVoPage(WcsWarnClassBo bo, PageQuery pageQuery);

    /**
     * 查询告警类别定义列表
     */
    List<WcsWarnClassVo> selectVoList(WcsWarnClassBo bo);

    /**
     * 新增告警类别定义
     */
    Boolean insertByBo(WcsWarnClassBo bo);

    /**
     * 修改告警类别定义
     */
    Boolean updateByBo(WcsWarnClassBo bo);

    /**
     * 校验并批量删除告警类别定义信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids);
}
